/**
 * Created by 白雨浓 on 2018/1/13 13:44.
 *
 * 窗口
 */

export default {
    namespaced: true,
    state: {
        width: '',
        height: ''
    },
    mutations: {
        width(state, width){
            state.width = width;
        },
        height(state, height){
            state.height = height;
        }
    },
    actions: {},
    getters: {
        width(state){
            return state.width;
        },
        height(state){
            return state.height;
        }
    }
};